Attribute Macros

  • Macro to сheck that the user has any of the specified permissions.
  • Macro to сheck that the user has any the specified roles. Role - is permission with prefix “ROLE_”.
  • Macro to сheck that the user has all the specified permissions. Allow to add a conditional restriction based on handlers parameters. Add the secure attribute followed by the the boolean expression to validate based on parameters
  • Macro to сheck that the user has all the specified roles. Role - is permission with prefix “ROLE_”.